package com.farm.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "商品分页查询数据传输对象")
public class GoodsPageQueryDTO implements Serializable {

    @ApiModelProperty("页码")
    private int page;

    @ApiModelProperty("页数")
    private int pageSize;

    @ApiModelProperty("名称")
    private String name;

    //分类id
    @ApiModelProperty("分类id")
    private Long categoryId;

    //状态 0表示禁用 1表示启用
    @ApiModelProperty("状态")
    private Integer status;

}
